f71819356e5a0d9ad18b5d61c59d294370fb2797,javasrc/src/org/ccnx/ccn/protocol/ContentName.java,ContentName,compareTo,#ContentName#,1221
Before Change
public int compareTo(ContentName o) {
if (this == o)
return 0;
int len = (this.count() > o.count()) ? this.count() : o.count();
int componentResult = 0;
for (int i=0; i < len; ++i) {
componentResult = DataUtils.compare(this.component(i), o.component(i));
After Change
public int compareTo(ContentName o) {
if (this == o)
return 0;
int thisCount = this.count();
int oCount = o.count();
int len = (thisCount > oCount) ? thisCount : oCount;
int componentResult = 0;
for (int i=0; i < len; ++i) {
componentResult = DataUtils.compare(this.component(i), o.component(i));